[Unit]
Description=The Prometheus Server
After=network.target

[Service]
Restart=on-failure
ExecStart={{ pillar['prometheus_dir'] }}/prometheus --config.file={{ pillar['prometheus_dir'] }}/prometheus.yml
RestartSec=15s

[Install]
WantedBy=multi-user.target
